﻿<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="Project._Default" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
    <style type="text/css">
        .style1
        {
            height: 74px;
        }
        .style2
        {
            height: 74px;
            width: 102px;
        }
        .style3
        {
            width: 102px;
        }
    </style>
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <br/><br/><div align="center" style="margin-bottom: 20px">
        <asp:Image ID="Image1" runat="server" ImageUrl="~/images/Text.png" />
    </div>
    <div>
       
        <table align="center">
            <tr>
                <td align="right" class="style1">
                    <asp:ImageButton ID="ImageButton1" runat="server" Height="70px" 
                        ImageUrl="~/images/Register.png" Width="70px" ImageAlign="Middle" />
                </td>
                <td align="left" class="style1">
                    <asp:LinkButton ID="lb_timeemp" runat="server" Font-Bold="True" 
                        Font-Size="Medium" Font-Underline="False" ForeColor="Black">ลงเวลาเข้า-ออกพนักงานทำงาน</asp:LinkButton>
                        
                         <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
        </asp:ToolkitScriptManager>
        <asp:Panel ID="Panel1" runat="server" BorderColor="AliceBlue" BorderStyle="Solid" 
                        BorderWidth="2px" Width="360px" Height="120px" BackColor="#999999" 
                        HorizontalAlign="Center">
            <br/>
           <span style="font-size: 18px">รหัสพนักงาน :</span> 
            <asp:TextBox ID="tb_IDEmpoyee" runat="server" Font-Size="Medium" Height="30px"></asp:TextBox>
            <br />
            <br />
            <asp:Button ID="BtOK" runat="server" Text="ลงเวลา" Font-Size="Medium" 
                Height="40px" onclick="BtOK_Click"/>
            <asp:Button ID="Bt_QRcode" runat="server" Text="ลงเวลาด้วย QR Code" 
                Font-Size="Medium" Height="40px" />
            <asp:Button ID="Btcancle" runat="server" Text="ยกเลิก" Font-Size="Medium" 
                Height="40px" />
        </asp:Panel>
        <asp:ModalPopupExtender ID="ModalPopupExtender1" runat="server" TargetControlID="lb_timeemp" PopupControlID="Panel1" 
        BackgroundCssClass="modalBackground" CancelControlID="Btcancle" DropShadow="True">
        </asp:ModalPopupExtender>

                   
                </td>
                <td align="right" class="style2">
                    <asp:ImageButton ID="ImageButton2" runat="server" Height="70px" 
                        ImageAlign="Middle" ImageUrl="~/images/employees.png" Width="70px" />
                </td>
                <td class="style1">
                    <asp:LinkButton ID="lb_dataemp" runat="server" Font-Bold="True" 
                        Font-Size="Medium" Font-Underline="False" ForeColor="Black" 
                        onclick="lb_dataemp_Click">ตรวจสอบข้อมูลของพนักงาน</asp:LinkButton>
                </td>
            </tr>
            <tr>
                <td align="left">
                    <asp:ImageButton ID="ImageButton3" runat="server" Height="70px" 
                        ImageAlign="Middle" ImageUrl="~/images/Listtransport.png" Width="90px" />
                </td>
                <td align="left">
                    <asp:LinkButton ID="lb_goodsorder" runat="server" Font-Bold="True" 
                        Font-Size="Medium" Font-Underline="False" ForeColor="Black" 
                        onclick="lb_goodsorder_Click">รายการสั่งซื้อสินค้า</asp:LinkButton>
                </td>
                <td align="right" class="style3">
                    <asp:ImageButton ID="ImageButton4" runat="server" Height="70px" 
                        ImageAlign="Middle" ImageUrl="~/images/Stock.png" Width="70px" />
                </td>
                <td>
                    <asp:LinkButton ID="lb_goodspay" runat="server" Font-Bold="True" 
                        Font-Size="Medium" Font-Underline="False" ForeColor="Black" 
                        onclick="lb_goodspay_Click">รายการเบิกจ่ายสินค้าคงคลัง</asp:LinkButton>
                </td>
            </tr>
            <tr>
                <td align="left">
                    <asp:ImageButton ID="ImageButton5" runat="server" Height="70px" 
                        ImageAlign="Middle" ImageUrl="~/images/bottle.png" Width="70px" />
                </td>
                <td align="left">
                    <asp:LinkButton ID="lb_borrowgoods" runat="server" Font-Bold="True" 
                        Font-Size="Medium" Font-Underline="False" ForeColor="Black" 
                        onclick="lb_borrowgoods_Click">รายการยืม - คืนถัง ลัง ขวด</asp:LinkButton>
                </td>
                <td align="right" class="style3">
                    <asp:ImageButton ID="ImageButton6" runat="server" Height="70px" 
                        ImageAlign="Middle" ImageUrl="~/images/transport.png" Width="70px" />
                </td>
                <td>
                    <asp:LinkButton ID="lb_sentgoods" runat="server" Font-Bold="True" 
                        Font-Size="Medium" Font-Underline="False" ForeColor="Black" 
                        onclick="lb_sentgoods_Click">รายการส่งสินค้า</asp:LinkButton>
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td class="style3">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
        </table>
      
   </div>
</asp:Content>
